/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.redkalex.htdi.user;

import org.redkale.convert.json.JsonConvert;
import org.redkale.net.http.RestSessionid;
import org.redkale.util.Comment;

/**
 *
 * @author zhangjx
 */
public class LoginBean {

    @Comment("邮箱地址")
    protected String email = "";

    @Comment("密码")
    protected String password = "";

    @Comment("sessionid")
    @RestSessionid(create = true)
    protected String sessionid = "";

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSessionid() {
        return sessionid;
    }

    public void setSessionid(String sessionid) {
        this.sessionid = sessionid;
    }

    @Override
    public String toString() {
        return JsonConvert.root().convertTo(this);
    }
}
